import { ApiProperty } from '@nestjs/swagger';
import { IsOptional } from 'class-validator';
export class OrderUpdateDto {
    /**
     * 用户id
     */
    @ApiProperty({
        description: '用户id',
        required: false,
    })
    @IsOptional()
    user_id?: number;
    /**
     * 付款状态
     */
    @ApiProperty({
        description: '付款状态',
        required: false,
    })
    @IsOptional()
    payment_status?: number;
    /**
     * 
     */
    @ApiProperty({
        description: '',
        required: false,
    })
    @IsOptional()
    order_id?: number;
    /**
     * 商品id
     */
    @ApiProperty({
        description: '商品id',
        required: false,
    })
    @IsOptional()
    goods_id?: number;
    /**
     * 商品的价格
     */
    @ApiProperty({
        description: '商品的价格',
        required: false,
    })
    @IsOptional()
    single_price?: number;
    /**
     * 商品的数量
     */
    @ApiProperty({
        description: '商品的数量',
        required: false,
    })
    @IsOptional()
    count?: number;
}
